package com.example.demo;

import redis.clients.jedis.Jedis;

/**
 * jedis
 */
public class TestPing {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("127.0.0.1",6379);
        System.out.println(jedis.ping());
        /**
         *  c参考markdown写过的指令测试
         */
        jedis.set("k1","v1");
        System.out.println(jedis.get("k1"));
    }
}
